package com.wy2cloud.core.security;

/**
 * 加密类型
 * @author admin
 *
 */
public enum EncryptType {
  RSA_521(0,"RSA",512),
  RSA_1024(1,"RSA",1024),
  RSA_2048(2,"RSA",2048);
	
	private final int value;
	private final String algorithm;
	private final int size;
	private EncryptType(int value,String algorithm, int size) {
		this.value = value;
		this.algorithm=algorithm;
		this.size = size;
	}
	
	public int getValue() {
		return this.value;
	}

	public int getSize() {
		return size;
	}

	public String getAlgorithm() {
		return algorithm;
	}
	
	
}
